#ifndef _TEACHER_H_
#define _TEACHER_H_
#include "Student.h"
#define StuSize 10

struct Teacher
{
    char Name[NameSize];
    int age;
    Stu s[StuSize];
    int size;  //学生数量
};

typedef struct Teacher Teach;

void InitTeacher(Teach *t,const char *name,int age);
void InsertStu(Teach *t,int id,const char *StuName);
void RemoveByIndex(Teach *t,int index);
void RmStuByID(Teach *t,int ID);
//void RmStuByName(Teach *t,char name);
Stu* FindStuByName(Teach *t,const char *name);
void PrintTeacher(Teach *t);

#endif